import pytest
from selenium import webdriver









@pytest.fixture(scope='function')
def get_driver():
    driver = webdriver.Chrome()
    driver.get('http://10.59.9.32/jeewms/loginController.do?login')
    yield driver
    driver.close()
    print('页面驱动关闭，测试结束')
